package cc.yugu.yhdw.webserver.persistence.hdw;

import cc.yugu.yhdw.common.domain.hdw.BigContent;
import cc.yugu.yhdw.common.persistence.MasterMapper;
import org.apache.ibatis.annotations.Param;
/**
 * 终端策略信息
 *
 * @Date:Created in 2018/6/30 11:28
 * @Author:
 * @Modified By: zjn 2018/6/30 11:28
 */
public interface BigContentMapper extends MasterMapper {
    /**
    * 查询表hdw_big_content，根据主键和类型查询 详情
    *
    * @Param: [type, id]
    * @Return: java.lang.String
    * @Author By: zjn 2018/6/30  11:28
    */
    public String find(@Param("type") int type, @Param("id") int id);
    /**
    * 插入
    *
    * @Param: [entity]
    * @Return: int
    * @Author By: zjn 2018/6/30  11:28
    */
    public int insert(BigContent entity);
    /**
    * 根据主键和类型更新详情
    *
    * @Param: [entity]
    * @Return: int
    * @Author By: zjn 2018/6/30  11:28
    */
    public int update(BigContent entity);
    /**
    * 根据主键和类型删除
    *
    * @Param: [type, id]
    * @Return: int
    * @Author By: zjn 2018/6/30  11:28
    */
    public int delete(@Param("type") int type, @Param("id") int id);
}
